﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TaxBusiness.Model
{
    public class Business:Charging
    {
        public string BusinessCode { get; set; }
        public string TheName { get; set; }
        public string TaxNumber { get; set; }
        public string LegalPerson { get; set; }
        public string LPPhone { get; set; }
        public decimal? RegisteredCapital { get; set; }
        public decimal? Profit { get; set; }
        public decimal? AnnualIncome { get; set; }
        public DateTime? FoundDate { get; set; }
        public string Addr { get; set; }
        public string Phone { get; set; }
        public string Contact { get; set; }
        public int CustomerID { get; set; }
        public string BusinessType { get; set; }
        public string BusinessType1 { get; set; }
        public string BusinessType2 { get; set; }
        public string TypeName { get; set; }
        public string Items { get; set; }
        public string Contract { get; set; }
        public DateTime? BeginDate { get; set; }
        public DateTime? EndDate { get; set; }
        public decimal Charges { get; set; }
        public string Introducer { get; set; }
        public string Agent { get; set; }
        public string TheOffice { get; set; }
        public string TheDepartment { get; set; }
        public string OfficeName { get; set; }
        public string DepartmentName { get; set; }
        public decimal OwingMoney { get; set; }
        public bool Paidup { get; set; }
        public string FillIn { get; set; }
        public int FillInID { get; set; }
        public DateTime? FillInDate { get; set; }
        public int Payment { get; set; }
        public string PaymentType { get; set; }
        public string BillUnitName { get; set; }
    }

    [Serializable()]
    public class BusinessData
    {
        public int total { get; set; }
        public IList<Business> rows { get; set; }
    }
}
